<div id="wrapper-content" align="left">
    <?php if ($listcatchild != false) {
    ?>
        <table>
            <tr>
                <td valign="top">
                <?php echo $cat_link; ?>
                <div id="border-wrapper-cat-child">
                    <img src="<?php echo base_url() . 'assets/images/bordertl.png' ?>" style="position:absolute;top:0px;left:0px"/>
                    <img src="<?php echo base_url() . 'assets/images/bordertr.png' ?>" style="position:absolute;top:0px;right:0px"/>
                    <img src="<?php echo base_url() . 'assets/images/borderbr.png' ?>" style="position:absolute;bottom:0px;right:0px"/>
                    <img src="<?php echo base_url() . 'assets/images/borderbl.png' ?>" style="position:absolute;bottom:0px;left:0px"/>
                    <div id="wrapper-cat-child" align="left">
                        <div id="titre-wrapper-cat-child"><?php echo $langue['catchild_titre']; ?></div>
                        <ul >
                            <?php foreach ($listcatchild as $aRow): ?>
                                <li><a href="<?php echo site_url('jaco/nos_animaux/' . $aRow['id']); ?>" alt=""><?php echo $aRow['nom'] ?></a>
                                </li>
                            <?php endforeach; ?>
                            </ul>
                        </div>
                        <!--end wrapper-cat-child-->
                    </div>
                    <!--end border-wrapper-cat-child-->
                </td>
                <td width="190px" valign="top"> <img width="181px" src="<?php echo base_url() . 'assets/catimg/' . $catimg ?>" /></td>
            </tr>
        </table>
    <?php } ?>
                            <div id="titre_list_produit"><?php echo $langue['productlist_titre']; ?></div>
                            <div id="wrapper_productlist">
        <?php if ($listproduct != false) {
        ?>

        <?php foreach ($listproduct as $aRow): ?>
        <?php
                                    $data_img = $aRow['img'];
                                    $show_img = './assets/productimg/' . $data_img;
                                    if (!file_exists($show_img)) {
                                        $show_img = base_url() . 'assets/noimage.gif';
                                    } else {
                                        $show_img = base_url() . 'assets/thumbs/' . $data_img;
                                        ;
                                    }
        ?>
                                    <div class="box">
                                        <a id="example2" href="<?php echo base_url() . 'assets/productimg/' . $aRow['img'] ?>"> <img width="150" height="100" src="<?php echo $show_img; ?>"/></a><br/>
                                        <a href="<?php echo site_url('jaco/detail/' . $aRow['id']) . '/' . $aRow['nom']; ?>" alt="" class="nameproduct"><?php echo $aRow['nom'] ?></a>
                                    </div>
        <?php endforeach; ?>
        <?php echo $pagination; ?>
        <?php } else
                                    echo "aucun produit"; ?>
    </div>
    <!--end wrapper_productlist-->
</div>
<!--end wrapper-content-->